﻿Shader "MuYuPipeline/Lit"
{
	Properties{
		_Color("Color",COLOR) = (1,1,1,1)
	}
	SubShader{
		Pass{
			HLSLPROGRAM
			#pragma target 3.5
			#pragma multi_compile_instancing
			//#pragma instancing_options assumeuniformscaling //非统一缩放Instancing支持
			#pragma vertex LitPassVertex
			#pragma fragment LitPassFragment
			#include "../ShaderLibrary/Lit.hlsl"
			ENDHLSL
		}

		Pass{
			Tags{"LightMode" = "ShadowCaster"}
			HLSLPROGRAM
			#pragma target 3.5
			#pragma multi_compile_instancing
			#pragma vertex ShadowCasterPassVertex
			#pragma fragment ShadowCasterPassFragment
			#include "../ShaderLibrary/ShadowCaster.hlsl"
			ENDHLSL
		}
	}
}